﻿/*초기화*/
* {margin: 0; padding: 0; font-family:나눔고딕;}
html, body {height: 100%;}
a {text-decoration: none; color: black;}
#main_footer > small > span {margin: 0 5px;}
li {list-style:none;}   

/*layout*/  
#main_header {
    height: 95px;
    position: relative;
    background-color: orchid;
        
    border: 1px solid black;
}
    #main_header > #main_gnb {
        position: absolute;
        text-align: center;
        right: 0; top: 0;
    }
#main_gnb:hover {background-color: tomato;}
    #main_header > #main_lnb {
        position: absolute;
        text-align: center;
        right: 0; bottom: 0;
    }
    #title > h1 {
        margin: 5px; 
        height: 45px; 
        line-height: 45px; 
        width: 135px;
        border: 1px solid black;
    }
    #title > h2 {
        margin: 5px; 
        width: 135px;
        text-align: center;
        height: 35px;
        line-height: 35px;
        border: 1px solid black;
    }
nav h1 {
    border: 1px solid black;
}

#content {
    overflow: hidden;
    margin: 5px 0;
    background-color: orchid;
    border: 1px solid black;
}
    #content > #main_section {
        border-left: 1px solid black;
        border-right: 1px solid black;
        background-color: #fff;
    }

    #content > #main_section > h1 {
        height: 55px;
        line-height: 55px;
        font-size: 2em;
        border-bottom: 1px solid black;
        background-color: orchid;
    }

    #content > #main_aside {
        background-color: orchid;
    }
    #content > #main_aside > h1 {font-size: 2em;}

#main_footer {
    height: 50px;
    line-height: 50px;
    text-align: right;

    box-sizing: border-box;
    border: 1px solid black;
    background-color: #a7a7a7;
}
#main_footer > small {margin-right: 50px; font-weight: bolder;}


/*detail*/
 #aside_list {
            width: 100%;
}

dt {
    line-height: 35px;
    font-size:large;
    text-align:center;
    font-weight: bolder;
    color: black;
    height:35px;
    border: 1px solid black;
    background-color:orchid;
    cursor:pointer;
    position: relative;   
}
    dt:first-child {border-radius: 5px 5px 0 0;}
    dt:last-child {border-radius: 0 0 5px 5px;}
    dt:hover {background-color: tomato;}
    dt img {line-height: 35px; position: absolute; right: 5px; top: 12px;}

li:hover {background-color: lightgreen;}
    dd {
        margin: 0;
        background: #D4D0C8;
    }
        dd a {
            font-weight: bold;
            line-height: 35px;
            height: 35px;
            margin:0;
            text-align:center;
        }
ul li {
    border: 1px solid black;
    text-align: center;
}